package cn.ds.assets.module.assets.controller.admin.dataQualityRuleSet.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;
import java.time.LocalDateTime;

import com.alibaba.excel.annotation.ExcelProperty;

/**
 * 数据质量规则设置 Excel VO
 *
 * @author admin
 */
@Data
public class BaseDataQualityRuleSetExcelVO {

    @ExcelProperty("内容")
    private String content;

    @ExcelProperty("正则表达式")
    private String regularExpression;

    @ExcelProperty("格式类型")
    private String formatType;

    @ExcelProperty("主键id")
    private Long id;

    @ExcelProperty("项目id")
    private Long projectId;

    @ExcelProperty("质量id")
    private Long qualityRuleId;

    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @ExcelProperty("条件")
    private String ruleCondition;

    @ExcelProperty("cron表达式")
    private String cron;

    @ExcelProperty("开始时间")
    private LocalDateTime startTime;

    @ExcelProperty("结束时间")
    private LocalDateTime endTime;

    @ExcelProperty("自定义sql")
    private String customSql;

    @ExcelProperty("对比库")
    private String compareDb;

    @ExcelProperty("对比表")
    private String compareTable;

    @ExcelProperty("对比字段")
    private String compareColumn;

    @ExcelProperty("单位")
    private String unit;

}
